package com.xinsoft.entity.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工单记录
 * @TableName mes_dispatch_his
 */
@Data
public class MesDispatchHis implements Serializable {
    /**
     * 工单记录ID
     */
    private Integer id;

    /**
     * 工单ID
     */
    private Integer dispatchId;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 挂起时间
     */
    private Date hangTime;

    /**
     * 工作时长
     */
    private BigDecimal manHour;

    /**
     * 开工/挂起 人
     */
    private Integer startHangId;

    /**
     * 标记（1开工记录 0挂起记录）
     */
    private Integer sign;

    /**
     * 挂起原因
     */
    private String pendingReason;

    /**
     * 设备IDS,多选,json字符串
     */
    private String deviceIds;

    /**
     * 汇报人,多选,json字符串
     */
    private String reportUsers;

    /**
     * 创建人
     */
    private Integer createBy;

    private static final long serialVersionUID = 1L;

    public MesDispatchHis(Integer dispatchId, Date startTime, Integer startHangId, Integer sign, String pendingReason){
        this.dispatchId = dispatchId;
        this.startTime = startTime;
        this.startHangId = startHangId;
        this.sign = sign;
    }
    public MesDispatchHis(){

    }


}